package cn.psvmc.cxzapi.model.customer;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 客户商品浏览记录表
 *
 * @Author auto
 * @Date 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_customer_goods_record")
public class TCustomerGoodsRecord implements Serializable {

    //客户商品浏览记录id
    @TableId(value = "cgrid", type = IdType.AUTO)
    private Integer cgrid;

    //商品id
    @TableField("goods_id")
    private Integer goodsId;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
